<template>
  <div class="app1">
    <div class="modal">
      <slot></slot>
    </div>
  </div>
</template>

<script>
// 引入组件
import projectDetails from "@/components/projectDetails/projectDetails.vue";


export default {
  name: "app",
  // 注册组件
  components: {
    projectDetails,

  },
  data () {
    return {
  
    };
  },
  methods: {

  },
};
</script>

<style lang="scss" scoped>
.app1 {
  position: relative;

  // -webkit-font-smoothing: antialiased;
  // -moz-osx-font-smoothing: grayscale;
  // color: #2c3e50;

  z-index: 3;
}
.modal {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(#000, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
}
</style>

